python get time of day

29

python date get day -

import datetime
dt = datetime.datetime.today()
year = dt.year
month = dt.month
day = dt.day

Comments

Submit
0 Comments